﻿using Microsoft.AspNetCore.Authorization;

namespace Lightworks.Core.Auth
{
    public class PermissionAuthRequirement : IAuthorizationRequirement
    {
        public PermissionAuthRequirement(string code)
        {
            PermCode = code;
        }
        public string PermCode { get; set; }
    }
}
